package com.jy.appmarket.network.engine;

import java.util.Map;

import com.jy.appmarket.network.resultdata.CheckVerifyCodeResult;

import android.content.Context;

public class CheckVerifyCodeNetEngine extends BaseNetEngine{

	private String mPhoneNum;
	private String mType;
	private String mVerifyCode;
	
	public CheckVerifyCodeNetEngine(String phoneNum, String type, String verifyCode) {
		mHttpMethod = HTTP_POST;
		mResultData = new CheckVerifyCodeResult();
		mPhoneNum = phoneNum;
		mType = type;
		mVerifyCode = verifyCode;
	}
	
	@Override
	protected String getCommand() {
		return "check_verification_code";
	}

	@Override
	protected void postParams(Context context, Map<String, String> params) {
		params.put("phoneNum", mPhoneNum);
		params.put("type", mType);
		params.put("verificationCode", mVerifyCode);
	}
}
